﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EasyTest;

namespace EtTest.MormonOrg.Pages
{
    public class Home
    {
        public static Page Page = new Page("Home Page",PageFindBy.Element("html[data-urlkey='home']"));
        public class People
        {
            private static Link PeopleLink = new Link("//div[@class='nav__item']//span[text()='People']", Page);
            public static Link IAmAMormon = new Link("a[href='/people']",PeopleLink);
            public static Link MeetMormons = new Link("a[href='/people/find']", PeopleLink);
            public static Link ChatWithAMormon = new Link("a[href='/chat']", PeopleLink);
        }
    }
}
